package com.aspose.cells;

public class PlotArea extends ChartFrame {
   int l;
   int m;
   int n;
   int o;
   byte[] p;
   private boolean q = false;
   private String r;

   void a() {
      if (ChartCollection.c(this.getChart().getType())) {
         this.getBorder().setVisible(false);
         this.getArea().setFormatting(1);
      } else {
         this.getBorder().a(Color.fromArgb(128, 128, 128));
         this.getBorder().setWeight(0);
         this.getArea().setForegroundColor(Color.fromArgb(192, 192, 192));
      }

   }

   PlotArea(Chart chart) {
      super(chart);
      this.b(1);
   }

   public int getX() {
      return this.m();
   }

   public void setX(int value) {
      this.e(value);
      this.h(false);
      this.d = false;
      this.setInnerMode(false);
   }

   public int getY() {
      return this.n();
   }

   public void setY(int value) {
      this.f(value);
      this.h(false);
      this.e = false;
      this.setInnerMode(false);
   }

   public int getHeight() {
      return this.o();
   }

   public void setHeight(int value) {
      this.g(value);
      this.h(false);
      this.j = false;
      this.setInnerMode(false);
   }

   public int getWidth() {
      return this.p();
   }

   public void setWidth(int value) {
      this.h(value);
      this.h(false);
      this.j = false;
      this.setInnerMode(false);
   }

   public int getInnerX() {
      return this.l;
   }

   public void setInnerX(int value) {
      this.l = value;
      this.h(false);
      this.d = false;
      this.setInnerMode(true);
   }

   public int getInnerY() {
      return this.m;
   }

   public void setInnerY(int value) {
      this.m = value;
      this.h(false);
      this.e = false;
      this.setInnerMode(true);
   }

   public int getInnerHeight() {
      return this.o;
   }

   public void setInnerHeight(int value) {
      this.o = value;
      this.h(false);
      this.j = false;
      this.setInnerMode(true);
   }

   public int getInnerWidth() {
      return this.n;
   }

   public void setInnerWidth(int value) {
      this.n = value;
      this.h(false);
      this.j = false;
      this.setInnerMode(true);
   }

   public void setPositionAuto() {
      super.setPositionAuto();
      this.getChart().a((byte)(this.getChart().h() & 255 & 231));
   }

   void c(int var1, int var2, int var3, int var4) {
      this.l = var1;
      this.m = var2;
      this.n = var3;
      this.o = var4;
   }

   boolean z() {
      return this.q;
   }

   void j(boolean var1) {
      this.q = var1;
   }

   String A() {
      return this.r;
   }

   void a(String var1) {
      this.r = var1;
   }

   void a(PlotArea var1, CopyOptions var2) {
      super.a(var1, var2);
      if (var2.n != var2.o && var2.n == 1) {
         this.d = false;
         this.e = false;
         this.j = false;
      }

      this.l = var1.getInnerX();
      this.m = var1.getInnerY();
      this.n = var1.getInnerWidth();
      this.o = var1.getInnerHeight();
      this.p = var1.p;
      this.q = var1.q;
      this.r = var1.r;
   }
}
